package vn.vfriends.id.service;

import java.io.Serializable;
import java.util.List;
import vn.vfriends.id.jpa.entity.Page;

/**
 *
 * @author tuan@vfriends.vn
 */
public interface PageService extends Serializable {
    public void create(Page page) throws Exception;

    public void edit(Page page) throws Exception;

    public void destroy(Long id) throws Exception;

    public List<Page> find();

    public Page find(Long id);

    public Page findByName(String name);
    
    public Page findByLink(String link);
    
    public int getCount();
}
